<?php

namespace App\Services\Base;
use App\Params\Backend\PayListParam;
use App\Params\Backend\StoreListParam;
use App\Repository\PayRepository;
use App\Repository\StoreRepository;
use App\Services\BaseService;

/**
 * 店铺相关业务类
 *
 * @author WangBin
 * @date 2022-01-19
 * @package App\Http\Services
 */
class StoreService extends BaseService
{
    /**
     * 查询店铺列表
     *
     * @param StoreListParam $param
     * @return array
     */
    public function getSelectList(StoreListParam $param)
    {
        return StoreRepository::getInstance()->getList($param->toArray())->get();
    }
}
